<div class="top-fixed">
    <div class="navbar" style="max-width: 640px;margin: auto;">
        <div class="navbar-inner">
            <div class="left">
                <a href="javascript:history.back();" class=""><i class="fa fa-angle-left" style="font-size: 30px;"></i></a>
            </div>
            <div class="center">{{title}}</div>
            <div class="right">
                <a href="/" class=""><i class="fa fa-home"></i></a>
            </div>
        </div>
    </div>
</div>
<div class="bottom-fixed">
    <div style="max-width: 640px;margin: auto;">
        <a id="apply-btn" href="javascript:;" class="btn btn-primary">申请提现</a>
    </div>
</div>
<section class="main" style="max-width: 640px;margin: auto;">
    <form id="withdraw_form">
        <ul class="fs14 col3 item-form">
            <li class="p10 red">
                <div>* 提现到{{user.bank_type_dict.text}} <a href="/bank_edit"
                                                          class="fr pt10 fs12 btn-mini btn-mini_solid">设置</a></div>
                {{#if user.bank_no}}
                    <div>
                        姓名: {{user.bank_name}}<br>
                        账号: {{user.bank_no}}<br>
                        手机号: {{user.bank_tel}}
                    </div>
                {{^}}
                    <div>请先设置提现账号</div>
                {{/if}}
            </li>
            <li class="table box-b plr10 bgf">
                <div class="table-cell vm col6 w80">提现金额</div>
                <div class="table-cell vm ptb10">
                    <input id="amount" name="amount" type="text" class="form_inp"
                           onkeyup="value=value.replace(/[^\d]/g,'')"
                           onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))"
                           placeholder="本次最多可提现¥{{format_integer user.amount}}">
                </div>
            </li>
        </ul>
        <div class="mt10 p10">
            <div class="fs14 col6">提现规则：</div>
            <article class="mt5 fs12 col9">
                <p>1. 设置提现{{settings.withdraw_limit}}元起</p>
                <p>2. 为了您的资金安全，提现资金{{settings.withdraw_time}}内审核到账</p>
            </article>
        </div>

        {{#if partner}}
            <div class="mt10 p10">
                {{#if partner.return_qrcode}}
                    <img src="{{partner.return_qrcode}}">
                    <div class="tc red">提现遇到问题或申请提现领取都可以添加好友</div>
                {{/if}}
            </div>
        {{/if}}
    </form>
</section>